﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="search.aspx.vb" Inherits="Project2.search" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../Assignment/airportStyles.css" />
    <style type="text/css">
       
    </style>
</head>

<body>

    <div id="header"></div>
    
    <div id="outLeftCol"></div>

    <div id="inLeftCol">
  
        <div id="leftMenu">
            <center>
            <h2 style="font-size:x-larger; text-decoration: underline; ">~~Navigation~~</h2>
            <a href="customer.aspx" style="font-size: large"  >Customers</a><br /><br />
            <a href="flights.aspx" style="font-size: large"  >Flights</a><br /><br />
            <a href="search.aspx" style="font-size: large"  >Search Airports</a><br /><br />
            <a href="reservations.aspx" style="font-size: large"  >Reservations</a><br /><br />
            </center>
        </div>
    </div>

    <div id="centerContent">
    <form id="form4" runat="server">
    <div id="contentArea">
        <asp:Label ID="lblSearch" Text="Enter initial letters of city you wish to search for:" runat="server"></asp:Label><br />
        <asp:TextBox ID="txtCity" runat="server"></asp:TextBox><br /><br />
        <asp:Button ID="btnSearch" runat="server" Text="Search for Cities" /><br /><br />

        <asp:GridView ID="gvSearch" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="CityName" HeaderText="City Name" />
                <asp:BoundField DataField="AirportCode" HeaderText="Airport Code" />
            </Columns>
        
        </asp:GridView>
    </div>
    </form>
    </div>
    
    <div id="inRightCol"></div>
    <div id="outRightCol"></div>

    <div id="footer"></div>

</body>
</html>
